﻿<ResourceDictionary
	xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
	xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
	<LinearGradientBrush x:Key="SurfaceItemConnectorLineBrush" EndPoint="1,0.5" StartPoint="0,0.5">
		<GradientStop Color="#FF5885EB" Offset="0"/>
		<GradientStop Color="#FF0014FF" Offset="1"/>
	</LinearGradientBrush>
	<Style x:Key="SurfaceItemConnectorLineStyle" TargetType="{x:Type Line}">
		<Setter Property="StrokeThickness" Value="6"/>
		<Setter Property="Stroke" Value="{DynamicResource SurfaceItemConnectorLineBrush}"/>
		<Setter Property="StrokeDashCap" Value="Flat"/>
		<Setter Property="StrokeEndLineCap" Value="Round"/>
		<Setter Property="StrokeStartLineCap" Value="Round"/>
		<Setter Property="RenderTransformOrigin" Value="0.5,0.5"/>
	</Style>
	<Style x:Key="Button10x10CurvedTop" BasedOn="{x:Null}" TargetType="{x:Type Button}">
		<Setter Property="Template">
			<Setter.Value>
				<ControlTemplate TargetType="{x:Type Button}">
					<ControlTemplate.Resources>
						<Storyboard x:Key="RollOverTimeLineActivate">
							<ColorAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="path" Storyboard.TargetProperty="(Shape.Fill).(SolidColorBrush.Color)">
								<SplineColorKeyFrame KeyTime="00:00:00" Value="#00FF0000"/>
								<SplineColorKeyFrame KeyTime="00:00:00.1480000" Value="#FFFF0000"/>
							</ColorAnimationUsingKeyFrames>
						</Storyboard>
						<Storyboard x:Key="RolloverTimeLineDeactivate">
							<ColorAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetProperty="(Shape.Fill).(SolidColorBrush.Color)" Storyboard.TargetName="path">
								<SplineColorKeyFrame KeyTime="00:00:00" Value="#FFFF0000"/>
								<SplineColorKeyFrame KeyTime="00:00:00.3550000" Value="#00FF0000"/>
							</ColorAnimationUsingKeyFrames>
						</Storyboard>
						<Storyboard x:Key="ButtonPress">
							<ColorAnimationUsingKeyFrames BeginTime="00:00:00" Duration="00:00:00.0010000" Storyboard.TargetName="path2" Storyboard.TargetProperty="(Shape.Stroke).(SolidColorBrush.Color)">
								<SplineColorKeyFrame KeyTime="00:00:00" Value="#FFF80000"/>
							</ColorAnimationUsingKeyFrames>
							<ColorAnimationUsingKeyFrames BeginTime="00:00:00" Duration="00:00:00.0010000" Storyboard.TargetName="path1" Storyboard.TargetProperty="(Shape.Stroke).(SolidColorBrush.Color)">
								<SplineColorKeyFrame KeyTime="00:00:00" Value="#FFFE0202"/>
							</ColorAnimationUsingKeyFrames>
						</Storyboard>
						<Storyboard x:Key="ButtonUnpress">
							<ColorAnimationUsingKeyFrames BeginTime="00:00:00" Duration="00:00:00.0010000" Storyboard.TargetProperty="(Shape.Stroke).(SolidColorBrush.Color)" Storyboard.TargetName="path2">
								<SplineColorKeyFrame KeyTime="00:00:00" Value="#FFFFFFFF"/>
							</ColorAnimationUsingKeyFrames>
							<ColorAnimationUsingKeyFrames BeginTime="00:00:00" Duration="00:00:00.0010000" Storyboard.TargetProperty="(Shape.Stroke).(SolidColorBrush.Color)" Storyboard.TargetName="path1">
								<SplineColorKeyFrame KeyTime="00:00:00" Value="#FFFFFFFF"/>
							</ColorAnimationUsingKeyFrames>
						</Storyboard>
					</ControlTemplate.Resources>
					<Grid Width="15" Height="15">
						<Path Fill="#FF000000" Stretch="Fill" HorizontalAlignment="Right" Margin="0,0,-0.003,0" x:Name="path" Width="15" Height="15" Data="F1 M5,0.5 C7.3134775,0.5 9.219202,2.2457969 9.3990545,4.5 L9.5,4.5 9.5,5 9.5,9.5 5,9.5 0.5,9.5 0.5,5 0.5,4.5 0.60094529,4.5 C0.78079814,2.2457969 2.6865227,0.5 5,0.5 z"/>
						<Path Stretch="Fill" Stroke="#FFFEFEFE" StrokeEndLineCap="Round" StrokeStartLineCap="Round" StrokeThickness="2" HorizontalAlignment="Stretch" Margin="3.338,5.409,3.436,1.991" x:Name="path2" Width="Auto" Data="M3.0817495,15.200054 L7.6715833,6.6875878"/>
						<Path Stretch="Fill" Stroke="#FFFEFEFE" Width="Auto" Data="M3.0817495,15.200054 L7.6715833,6.6875878" RenderTransformOrigin="0.5,0.5" StrokeEndLineCap="Round" StrokeStartLineCap="Round" StrokeThickness="2" Margin="3.338,5.409,3.436,1.991" x:Name="path1">
							<Path.RenderTransform>
								<TransformGroup>
									<ScaleTransform ScaleX="1" ScaleY="1"/>
									<SkewTransform AngleX="0" AngleY="0"/>
									<RotateTransform Angle="90"/>
									<TranslateTransform X="0" Y="0"/>
								</TransformGroup>
							</Path.RenderTransform>
						</Path>
					</Grid>
					<ControlTemplate.Triggers>
						<Trigger Property="IsFocused" Value="True"/>
						<Trigger Property="IsDefaulted" Value="True"/>
						<Trigger Property="IsMouseOver" Value="True">
							<Trigger.EnterActions>
								<BeginStoryboard x:Name="RollOverTimeLineActivate_BeginStoryboard" Storyboard="{StaticResource RollOverTimeLineActivate}"/>
							</Trigger.EnterActions>
							<Trigger.ExitActions>
								<BeginStoryboard x:Name="RolloverTimeLineDeactivate_BeginStoryboard" Storyboard="{StaticResource RolloverTimeLineDeactivate}"/>
							</Trigger.ExitActions>
						</Trigger>
						<Trigger Property="IsPressed" Value="True">
							<Trigger.EnterActions>
								<BeginStoryboard x:Name="ButtonPress_BeginStoryboard" Storyboard="{StaticResource ButtonPress}"/>
							</Trigger.EnterActions>
							<Trigger.ExitActions>
								<BeginStoryboard x:Name="ButtonUnpress_BeginStoryboard" Storyboard="{StaticResource ButtonUnpress}"/>
							</Trigger.ExitActions>
						</Trigger>
						<Trigger Property="IsEnabled" Value="False"/>
					</ControlTemplate.Triggers>
				</ControlTemplate>
			</Setter.Value>
		</Setter>
	</Style>
	<Style x:Key="ButtonSettings" BasedOn="{x:Null}" TargetType="{x:Type Button}">
		<Setter Property="Template">
			<Setter.Value>
				<ControlTemplate TargetType="{x:Type Button}">
					<ControlTemplate.Resources>
						<Storyboard x:Key="MouseOverActivate">
							<ColorAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="rectSettings" Storyboard.TargetProperty="(Shape.Fill).(SolidColorBrush.Color)">
								<SplineColorKeyFrame KeyTime="00:00:00.0010000" Value="#FF000000"/>
								<SplineColorKeyFrame KeyTime="00:00:00.1530000" Value="#FF0200FF"/>
							</ColorAnimationUsingKeyFrames>
						</Storyboard>
						<Storyboard x:Key="MouseOverDeactivate">
							<ColorAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetProperty="(Shape.Fill).(SolidColorBrush.Color)" Storyboard.TargetName="rectSettings">
								<SplineColorKeyFrame KeyTime="00:00:00" Value="#FF0200FF"/>
								<SplineColorKeyFrame KeyTime="00:00:00.3510000" Value="#FF000000"/>
							</ColorAnimationUsingKeyFrames>
						</Storyboard>
						<Storyboard x:Key="ButtonPress">
							<ColorAnimationUsingKeyFrames BeginTime="00:00:00" Duration="00:00:00.0010000" Storyboard.TargetName="path" Storyboard.TargetProperty="(Shape.Fill).(SolidColorBrush.Color)">
								<SplineColorKeyFrame KeyTime="00:00:00" Value="#FF0000FE"/>
							</ColorAnimationUsingKeyFrames>
						</Storyboard>
						<Storyboard x:Key="ButtonUnpress">
							<ColorAnimationUsingKeyFrames BeginTime="00:00:00" Duration="00:00:00.0010000" Storyboard.TargetProperty="(Shape.Fill).(SolidColorBrush.Color)" Storyboard.TargetName="path">
								<SplineColorKeyFrame KeyTime="00:00:00" Value="#FFFEFEFE"/>
							</ColorAnimationUsingKeyFrames>
						</Storyboard>
					</ControlTemplate.Resources>
					<Grid Width="15" Height="15">
						<Rectangle Fill="#FF000000" x:Name="rectSettings"/>
						<Path Fill="#FFFEFEFE" Stretch="Fill" Stroke="#FFFCFAFA" Margin="1.78,0.735,1.518,1.497" x:Name="path" VerticalAlignment="Stretch" Height="Auto" Data="M12.982176,11.061145 L11.001919,13.003637 7.3069124,9.575588 3.5367706,8.8515667 2.2799365,5.0422585 3.232309,4.0133237 4.7557532,7.0993963 7.8026415,7.556537 8.2215886,5.3089287 7.0028333,2.4137045 8.3739331,1.2325268 10.087808,4.6612551 10.125894,6.566021 12.935233,10.987267 z"/>
					</Grid>
					<ControlTemplate.Triggers>
						<Trigger Property="IsFocused" Value="True"/>
						<Trigger Property="IsDefaulted" Value="True"/>
						<Trigger Property="IsMouseOver" Value="True">
							<Trigger.EnterActions>
								<BeginStoryboard x:Name="MouseOverActivate_BeginStoryboard" Storyboard="{StaticResource MouseOverActivate}"/>
							</Trigger.EnterActions>
							<Trigger.ExitActions>
								<BeginStoryboard x:Name="MouseOverDeactivate_BeginStoryboard" Storyboard="{StaticResource MouseOverDeactivate}"/>
							</Trigger.ExitActions>
						</Trigger>
						<Trigger Property="IsPressed" Value="True">
							<Trigger.EnterActions>
								<BeginStoryboard x:Name="ButtonPress_BeginStoryboard" Storyboard="{StaticResource ButtonPress}"/>
							</Trigger.EnterActions>
							<Trigger.ExitActions>
								<BeginStoryboard x:Name="ButtonUnpress_BeginStoryboard" Storyboard="{StaticResource ButtonUnpress}"/>
							</Trigger.ExitActions>
						</Trigger>
						<Trigger Property="IsEnabled" Value="False"/>
					</ControlTemplate.Triggers>
				</ControlTemplate>
			</Setter.Value>
		</Setter>
	</Style>
</ResourceDictionary>